define(function(require, exports, module) {

	"use strict";
	require("mui");
	require("jquery");
	var abpUse = require("../abp.js");
	var abp = abpUse.abpstart;
	var template = require("template");
	//钉钉返回
	require('http://g.alicdn.com/ilw/ding/0.8.9/scripts/dingtalk.js');
	var dingTalkNav = require('dd_config');
	//ios
	dingTalkNav.LeftNavBar();
	//ad
	dingTalkNav.leftAndroid();
	var getFunList = require("../getFunList/getFunList.js"); //函数配置js

	getFunList.SortList("SortList", "#sortListShow"); //获取货品类别列表

	mui("body").on("tap", "#sortListShow li a", function() {
		sessionStorage.sortCatalogId = $(this).data("id");
		sessionStorage.sortGoodsType = $(this).data("type");
		sessionStorage.sortName = $(this).text();
	});
});